package com.inspector.app.ui.chat.socket;

public class WebSocketUrlBuilder {
    private static final String BASE_URL = "ws://101.201.100.220:8081/gaefb/websocketServer/cooTask/";

    /**
     * 构建WebSocket URL，包含动态参数。
     *
     * @param roomId 任务ID
     * @param userId 用户ID
     * @param source 来源标识
     * @return 完整的WebSocket URL
     */
    public static String buildWebSocketUrl(String roomId, String userId, String source) {
        return BASE_URL + roomId + "/" + userId + "/" + source;
    }
}
